/*
 * @Author: yanjikun
 * @Date: 2022-04-13 10:18:58
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-04-13 16:23:34
 * @Description: file content
 */
import { ChartMethods } from '../hooks/useChartMethods'
export type ChartActionType = Omit<ChartMethods, 'chartInstance' | 'resize' | 'getInstance'>

export type ChartThemeType = 'dark' | 'light' | 'default'

export type registerFun = (formEle: ChartMethods) => void

export type useChartReturnType = [registerFun, ChartActionType]
export type ChartEmitType = {
  (event: 'register', ele: ChartActionType): void
}
